package com.example.rab.service;

import com.example.rab.entity.domain.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @projectName: zzhMain
 * @package: com.example.rab.service
 * @interfaceName: UserService
 * @author: zzh
 * @description: TODO
 * @date: 2024/5/21 19:44
 * @version: 1.0
 */
public interface UserService extends UserDetailsService {


    @Override
    UserDetails loadUserByUsername(String username) throws UsernameNotFoundException;

    User insertUser(User user);
}
